<?php
/**
 * Template Name: Edit Sampul
 *
 * @GramediaWritingProject
 * @version 1.0
 * @Epifana & Vincentia
 */
 
 $bookid= isset( $_GET['bookid'] ) ? intval( $_GET['bookid'] ) : 0;
 $thumburl= $_GET['thumburl'] ;
?>
<form id="edit_post" name="edit_post" method="post" action="" enctype="multipart/form-data">
<img src="<?php echo $thumburl ?>"  class="imgukuran">
<input type="file" name="image" id="image" tabindex="30" accept="image/*" value="" />
<input type="hidden" name="action" value="<?php echo $bookid ?>" ></input>
<br/>
<input type="submit" value="Upload Gambar" tabindex="40" id="simpan" name="simpan" class="btn btn-sm">
</form>